package com.cyt.reward.dao;

import com.cyt.base.dao.BaseDao;
import com.cyt.reward.model.po.RewardStaff;
import com.cyt.reward.model.vo.RewardStaffVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 打赏功能-员工管理Dao层接口类
 *
 * @author rong yuan
 * @date 2019-7-24 14:21:33
 */
@Repository
public interface RewardStaffDao extends BaseDao<RewardStaff> {

    /**
     * 根据条件查询
     *
     * @param rewardStaffVo 参数接受对象
     * @return List<RewardStaffVo>
     * @author rong yuan
     * @date 2019-7-24 14:21:33
     */
    List<RewardStaffVo> selectByCondition(RewardStaffVo rewardStaffVo);

    /**
     * 根据条件查询单个对象
     *
     * @param rewardStaffVo 参数接受对象
     * @return RewardStaff
     * @author rong yuan
     * @date 2019/7/25 09:49
     */
    RewardStaff selectOneByCondition(RewardStaffVo rewardStaffVo);
}